﻿package newcommerce.lastws 
{
	import flash.net.URLLoader;
	
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	public dynamic class RequestWrapper 
	{
		protected var _requestId:Number;
		protected var _method:String;
		protected var _success:Boolean;
		protected var _executed:Boolean;
		protected var _loader:URLLoader;
		protected var _errorCall:Function;

		public function RequestWrapper() 
		{

		}

		public function get requestId():Number { return _requestId; }		
		public function set requestId(value:Number):void { _requestId = value; }

		public function get method():String { return _method; }
		public function set method(value:String):void { _method = value; }

		public function get success():Boolean { return _success; }
		public function set success(value:Boolean):void { _success = value; }

		public function get executed():Boolean { return _executed; }
		public function set executed(value:Boolean):void { _executed = value; }

		public function get loader():URLLoader { return _loader; }
		public function set loader(value:URLLoader):void { _loader = value; }

		public function get errorCall():Function { return _errorCall; }
		public function set errorCall(value:Function):void { _errorCall = value; }
	}
}